FieldMetadata.fromJson constructor

FieldMetadata.fromJson(
  1. Map json_
)

Implementation

FieldMetadata.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        paths: json_.containsKey('paths')
            ? (json_['paths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );