CustomModuleValidationError.fromJson constructor

CustomModuleValidationError.fromJson(
  1. Map json_
)

Implementation

CustomModuleValidationError.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        end: json_.containsKey('end')
            ? Position.fromJson(
                json_['end'] as core.Map<core.String, core.dynamic>)
            : null,
        fieldPath: json_.containsKey('fieldPath')
            ? json_['fieldPath'] as core.String
            : null,
        start: json_.containsKey('start')
            ? Position.fromJson(
                json_['start'] as core.Map<core.String, core.dynamic>)
            : null,
      );