fromJson method

  1. @override
dynamic fromJson(
  1. Map<String, dynamic> json
)

Returns a value of the type you specify, deserialized from a JSON object.

Params:

  • json: contains the source for instance creation.

Returns: a value of the specified type. See json_serializable

Implementation

@override
fromJson(Map<String, dynamic> json) => Version.fromJson(json);