asOptional method Null safety

  1. @override
TypedJsonMapValueType<K, J, D> asOptional(
  1. {bool optional = true}
)
override

Implementation

@override
TypedJsonMapValueType<K, J, D> asOptional({bool optional = true}) =>
    TypedJsonMapValueType(
      keyValueType: keyValueType,
      valueValueType: valueValueType,
      optional: optional,
      defaultValue: defaultValue,
    );