fromJson static method

MappingProperties fromJson(
  1. dynamic value
)

Returns a new MappingProperties instance and imports its values from value if it's a Map, null otherwise.

Implementation

// ignore: prefer_constructors_over_static_methods
static MappingProperties fromJson(dynamic value) {
  if (value is Map) {
    final json = value.cast<String, dynamic>();
    return MappingProperties(
      hasFootprints: mapValueOfType<bool>(json, r'HasFootprints'),
      footPrintsAreAligned: mapValueOfType<bool>(json, r'FootPrintsAreAligned'),
    );
  }
  return null;
}