FieldType.fromJson constructor

FieldType.fromJson(
  1. Map<String, Object?> json
)

Implementation

FieldType.fromJson(Map<String, Object?> json)
    : placeholder = json['placeholder'] as String,
      regexp = json['regexp'] as String;