asMap function

Map<String, dynamic> asMap(
  1. dynamic value
)

转换为 Map<String, dynamic> Convert to Map<String, dynamic>

Implementation

Map<String, dynamic> asMap(dynamic value) {
  if (value == null) {
    return <String, dynamic>{};
  }
  return asT<Map<String, dynamic>>(value);
}