ListTagsForResourceResult.fromJson constructor Null safety

ListTagsForResourceResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListTagsForResourceResult.fromJson(Map<String, dynamic> json) {
  return ListTagsForResourceResult(
    tags: (json['Tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}