GridMatrixDecoder.fromMap constructor

GridMatrixDecoder.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GridMatrixDecoder.fromMap(Map<String, dynamic> map) => GridMatrixDecoder(
      enabled: map['enabled'] as bool?,
      inverse: map['inverse'] != null
          ? GridMatrixInverse.fromValue(map['inverse'] as String)
          : null,
      mirror: map['mirror'] != null
          ? GridMatrixMirror.fromValue(map['mirror'] as String)
          : null,
    );