Metadata.fromJson constructor Null safety

Metadata.fromJson(
  1. dynamic json
)

Implementation

Metadata.fromJson(dynamic json) : name = json['name'] as String?;