discontinuedPackage webapp has been discontinued and replaced by finch.
WriteResult.fromMap constructor
WriteResult.fromMap(
- WriteCommandType writeCommandType,
- Map<String, dynamic> result
)
Implementation
WriteResult.fromMap(
WriteCommandType writeCommandType, Map<String, dynamic> result)
: super.fromMap(writeCommandType, result) {
if (result[keyWriteErrors] != null &&
(result[keyWriteErrors] as List).isNotEmpty) {
writeError = WriteError.fromMap(
<String, Object>{...?(result[keyWriteErrors] as List).first});
}
}